package net.wanho.mapper;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import net.wanho.po.Product;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author Administrator
* @description 针对表【product(商品表)】的数据库操作Mapper
* @createDate 2025-04-28 11:41:58
* @Entity net.wanho.po.Product
*/
@Mapper
public interface ProductMapper extends BaseMapper<Product> {

    List<Product> selectByTypeId(Integer id);

    Page<Product> selectByPage(Page<Product> page,@Param("ew") QueryWrapper<Product> queryWrapper);
}




